'use strict';

let appBaseDir = __dirname + '/../';
module.exports = {
    appName: 'lightmvc-demo',
    appId: 'sub-lightmvc-demo',
    debugMode: true,
    serverPort: 80,
    appBaseDir: appBaseDir,
    srcBaseDir: appBaseDir + 'src/',
    importPaths: [
        appBaseDir + 'src/models'
    ],
    localModuleBaseDir: appBaseDir + 'modules/',
    session: {
        store: {
            redis: {
                ttl: 86400 * 7,
                host: "127.0.0.1",
                port: 6379
            }
        }
    },
    cookies: {
        secretKey: 'lifeiseasybutyoumadeitcomplicated',
        cityCode: {
            name: 'tuniuuser_citycode',
            setting: {
                maxAge: 604800000,
                path: '/',
                domain: '.tuniu.com'
            }
        }
    }
};